home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2006 May / PCWMAY06.iso / Software / Freeware / First Page 2006 3.00 / fp2006-final-3.00-setup.exe / {app} / Iscripts / Forms Misc / anywhere-mail.izs < prev    next >
Text File  |  2005-09-27  |  2KB  |  90 lines

  1. <!NOWIZARD>
  2.  
  3. <!TITLE>Anywhere Mail
  4. <!/TITLE>
  5.  
  6. <!DESCRIPTION>This script allows you to email anyone from anywhere. just incase you cant get to your email this is a handy tool!<!/DESCRIPTION> 
  7.  
  8. <!CATEGORY>Forms<!/CATEGORY>
  9.  
  10. <!SCRIPT>
  11. <!-- START OF SCRIPT -->
  12.  
  13. <!-- HOW TO INSTALL ANYWHERE MAIL:
  14.  
  15.    1.  Paste the designated coding into the HEAD of your HTML document 
  16.    2.  Put the last script into the BODY of the HTML document  -->
  17.  
  18. <!-- STEP ONE: Copy this code into the HEAD of your HTML document  -->
  19.           
  20. <HEAD>
  21.  
  22. <SCRIPT LANGUAGE="JavaScript">
  23.  
  24. <!-- Begin
  25. function mailsome1(){
  26. who=prompt("Enter recipient's email address: ","antispammer@earthling.net");
  27. what=prompt("Enter the subject: ","none");
  28. if (confirm("Are you sure you want to mail "+who+" with the subject of "+what+"?")==true){
  29. parent.location.href='mailto:'+who+'?subject='+what+'';
  30.    }
  31. }
  32. // End -->
  33. </SCRIPT>
  34.  
  35. <!-- STEP TWO: Add code into BODY section of document  -->
  36.  
  37. <BODY>
  38.  
  39. <CENTER>
  40. <a href='javascript:mailsome1()'>E-Mail Someone!</a>
  41. <FORM>
  42. <input type=button value="E-Mail Someone!" onClick="mailsome1()">
  43. </FORM>
  44. </CENTER>
  45.  
  46.  
  47. <!-- END OF SCRIPT -->
  48. <!/SCRIPT>
  49.  
  50. <!PREVIEW>
  51. <!-- START OF SCRIPT -->
  52.  
  53. <!-- HOW TO INSTALL ANYWHERE MAIL:
  54.  
  55.    1.  Paste the designated coding into the HEAD of your HTML document 
  56.    2.  Put the last script into the BODY of the HTML document  -->
  57.  
  58. <!-- STEP ONE: Copy this code into the HEAD of your HTML document  -->
  59.           
  60. <HEAD>
  61.  
  62. <SCRIPT LANGUAGE="JavaScript">
  63.  
  64. <!-- Begin
  65. function mailsome1(){
  66. who=prompt("Enter recipient's email address: ","antispammer@earthling.net");
  67. what=prompt("Enter the subject: ","none");
  68. if (confirm("Are you sure you want to mail "+who+" with the subject of "+what+"?")==true){
  69. parent.location.href='mailto:'+who+'?subject='+what+'';
  70.    }
  71. }
  72. // End -->
  73. </SCRIPT>
  74.  
  75. <!-- STEP TWO: Add code into BODY section of document  -->
  76.  
  77. <BODY>
  78.  
  79. <CENTER>
  80. <a href='javascript:mailsome1()'>E-Mail Someone!</a>
  81. <FORM>
  82. <input type=button value="E-Mail Someone!" onClick="mailsome1()">
  83. </FORM>
  84. </CENTER>
  85.  
  86. <!-- END OF SCRIPT -->
  87. <!/PREVIEW>
  88.  
  89. <!RELATED>NONE<!/RELATED>
  90.